// 全局组件注册演示
// Vue.component(组件名,组件对象)
// import Vue from 'vue'
// Vue.component('PageTools', PageTools)

import PageTools from '@/components/PageTools'
import UploadExcel from '@/components/UploadExcel'
import imageUpload from '@/components/imageUpload'
import ScreenFull from '@/components/ScreenFull'
import ThemePicker from '@/components/ThemePicker'
import Lang from '@/components/Lang'

// 该文件负责所有的公共的组件的全局注册   Vue.use
export default {
  install(Vue) {
    // console.log('插件安装方法')
    //  注册全局的通用栏组件对象
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('imageUpload', imageUpload)
    Vue.component('ScreenFull', ScreenFull)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('Lang', Lang)
  }
}
